package com.kuang.demo01;

//代理中介人；帮房东出租给客户
public class Proxy implements Rent{

       private Host host;

       public Proxy(){
       }

       public Proxy(Host host){
           this.host = host;
       }

       public void ProxyHelpRent(){  //代理房东去出租
           host.rent();
           seeHouse(); //看房
           Contract();//签订合同
           Fare();//收中介费
       }

       public void seeHouse(){ //看房子
           System.out.println("中介带去看房子😀🏠");
       }

       public void Contract(){
           System.out.println("签租赁合同✍");
       }

        public void Fare(){
            System.out.println("代理中介收中介费💴");
        }
}
